#include "client.hpp"

int main(int argc,char* argv[])
{
    if(argc != 3) 
    {
        cout<<"User Page:"<<endl;
        cout<<"./client IP port is right"<<endl;
    }
    std::string ip=argv[1];
    int port=atoi(argv[2]);
    UDP_client* cvr=new UDP_client(ip,port);
    if(cvr->Init_Client())
    {
        cvr->Start();
    }

    return 0;
}